package com.meshnetics.gb.stack.mac.type;

import com.meshnetics.gb.type.impl.zcl.FixedBytesDataValue;
import com.meshnetics.gb.type.impl.zcl.TypeBitmap;

/**
 * WRITE DESCRIPTION HERE
 *
 * @author AKovylin
 */
public class TypeChannelMask extends TypeBitmap {
    public static final TypeChannelMask TYPE = new TypeChannelMask();

    protected TypeChannelMask() {
        super(new String[]{"macChannelMask"}, null, 4);
    }

    // no byte array cloning needed
    protected FixedBytesDataValue createValue(byte[] bytes) {
        return new ChannelMask(this, bytes);
    }
}
